package com.tzy.common.constant;
/**
 * 所有错误消息代码
 */
public class WebResultMsgCode {
    //成功
    public static final int SUCCESS = 0;
    //失败
    public static final int FAIL = 1;
    //用户未登录
    public static final int USER_NO_LOGIN = 2;
    //账号或密码不正确
    public static final int USER_PWD_ERROR = 3;
    //账号被锁
    public static final int USER_LOCKED = 4;
    //权限不足
    public static final int NO_AUTH = 5;
    //密码错误次数太多， 请明天再试
    public static final int TOO_MANY_PASSWORD_ERRORS = 6;
    //没有参数
    public static final int NO_PARAMS = 7;
}
